\hypertarget{class_thread}{\section{Thread$<$ Function $>$ Class Template Reference}
\label{class_thread}\index{Thread$<$ Function $>$@{Thread$<$ Function $>$}}
}


{\ttfamily \#include $<$Thread.\-hpp$>$}



\subsection{Detailed Description}
\subsubsection*{template$<$typename Function = Any$>$class Thread$<$ Function $>$}

The \hyperlink{class_thread}{Thread} template class lets you launch a function on a seperate thread.

This is a bit more difficult to use than \hyperlink{class_thread_3_01_any_01_4}{Thread$<$\-Any$>$}, but a lot safer.


\begin{DoxyTemplParams}{Template Parameters}
{\em Function} & The type of the function (e.\-g. For a parameterless function that returns void \char`\"{}void $\ast$()\char`\"{}). (Leaving this out will make it default to \hyperlink{class_thread_3_01_any_01_4}{Thread$<$\-Any$>$}.) \\
\hline
\end{DoxyTemplParams}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Sam/\-Projects/\-F\-R\-C/\-Libraries/\-Fpk/\-Entech-\/\-Fpk-\/\-Subscribers/\-Entech-\/\-Fpk/Thread.\-hpp\end{DoxyCompactItemize}
